<!DOCTYPE html>
<html lang="zh-cn">

<head>

  <meta content="text/html;charset=utf-8" http-equiv="content-type">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

  <title>${organizer.name} - 主办方信息</title>

  <!-- Bootstrap Core CSS -->
<!-- MetisMenu CSS -->
<!-- Custom CSS -->
<!-- Custom Fonts -->
  <!--webuploader 引入CSS-->
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->

    <link rel="stylesheet" href="/server/r/bower_components/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/server/r/bower_components/metisMenu/dist/metisMenu.min.css" />
    <link rel="stylesheet" href="/server/r/static/css/sb-admin-2_e507c2b.css" />
    <link rel="stylesheet" type="text/css" href="/server/r/bower_components/font-awesome/css/font-awesome.min.css" />
    <link type="text/css" rel="stylesheet" href="/server/r/static/css/hxz/common_2baa698.css" />
    <link rel="stylesheet" type="text/css" href="/server/r/bower_components/alertify/themes/alertify.core.css" />
    <link rel="stylesheet" type="text/css" href="/server/r/bower_components/alertify/themes/alertify.bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/server/r/bower_components/fex-webuploader/dist/webuploader.css" />
</head>

<body>

<div id="wrapper">
  <input type="hidden" id="domain" value="${domain}">
  <!--产品二维码的模态窗口-->
  <div class="modal fade" id="qrcode" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 360px;">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
          <h4 class="modal-title">链接及二维码</h4>
          <h5 class="modal-subtitle"></h5>
          <h6>若要将活动以微信文章的形式推送给用户，在下方二维码处鼠标单击右键，图片存储为。保存后，将此二维码添加至微信文章中，扫码进行报名跳转。如果是认证公众号菜单跳转的形式，则可以直接点击复制下方链接进行跳转。</h6>
        </div>
        <div class="modal-body">
          <div id="code1" style="text-align: center;"></div>
          <div class="form-group">
            <label>链接：</label>
            <textarea class="form-control" cols="20" rows="2" id="qrcode-link"></textarea>
          </div>
          <div class="form-group" style="text-align: center;">
            <button class="btn btn-sm btn-success" id="copy-qrcode-link">点击复制链接</button>
          </div>
        </div>
      </div>
      <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
  </div>
  <!--产品二维码的模态窗口-->

  <!-- Navigation -->
  <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">

    <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="index">${orgName}</a>
</div>
<!-- /.navbar-header -->

<ul class="nav navbar-top-links navbar-right">

    <!-- /.dropdown -->
    <li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            ${userName} <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
        </a>
        <ul class="dropdown-menu dropdown-user">
            <li><a href="/server/logout"><i class="fa fa-sign-out fa-fw"></i> 退出系统</a>
            </li>
        </ul>
        <!-- /.dropdown-user -->
    </li>
    <!-- /.dropdown -->
</ul>
<!-- /.navbar-top-links -->

    <div class="navbar-default sidebar" role="navigation">
      <div class="sidebar-nav navbar-collapse">
        <ul class="nav" id="side-menu">
    <li>
        <a href="/server/index"><i class="fa fa-dashboard fa-fw"></i> 首页</a>
    </li>
    <#if authMenu("/verify/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="/server/verify">
                <i class="fa fa-check fa-fw"></i> 核销
            </a>
            <!-- /.nav-second-level -->
        </li>
    </#if>
    <#if authMenu("/activity/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-asterisk fa-fw"></i> 产品管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/activity-add"> 创建产品</a>
                </li>
                <li>
                    <a href="/server/activity-list"> 我的产品</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/player/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY0?exists||Session.ACTIVITY1?exists>
            <li>
                <a href="#"><i class="fa fa-male fa-fw"></i> 报名管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/player-list">报名查询</a>
                    </li>
                    <li>
                        <a href="/server/verifyRecord/list">核销记录</a>
                    </li>
                </ul>
            </li>
        </#if>
    </#if>

    <#if authMenu("/order/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-list-alt fa-fw"></i> 订单管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/order-list">订单查询</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>

        <#if authMenu("/ticket/*", Session.USER_PERMISSION?string)>
            <#if Session.ACTIVITY3?exists || Session.ACTIVITY6?exists>
                <li>
                    <a href="#"><i class="fa fa-ticket fa-fw"></i> 雪票管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a href="/server/ticket-list">数据统计</a>
                        </li>
                        <li>
                            <a href="/server/verify?type=6">雪票核销</a>
                        </li>
                        <li>
                            <a href="/server/ticket-verify-list">核销记录</a>
                        </li>
                    </ul>
                    <!-- /.nav-second-level -->
                </li>
            </#if>
        </#if>
    </#if>

    <#if authMenu("/hotel/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY7?exists>
            <li>
                <a href="#"><i class="fa fa-building fa-fw"></i> 酒店预订管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/hotel-order-list">酒店预订管理</a>
                    </li>
                    <li>
                        <a href="/server/hotel-verify-list">核销记录</a>
                    </li>
                </ul>
            </li>
        </#if>
    </#if>

    <#if authMenu("/coach/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY2?exists>
            <li>
                <a href="#"><i class="fa fa-users fa-fw"></i> 教练管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/coach-list"> 预约查询</a>
                    </li>
                    <li>
                        <a href="/server/verify?type=2">教学签到</a>
                    </li>
                    <li>
                        <a href="/server/coach-verify-list">核销记录</a>
                    </li>
                </ul>
                <!-- /.nav-second-level -->
            </li>
        </#if>
    </#if>

    <#if authMenu("/camp/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY5?exists>
            <li>
                <a href="#"><i class="fa fa-trophy fa-fw"></i> 冬令营管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/camp-player-list"> 报名查询</a>
                    </li>
                </ul>
                <!-- /.nav-second-level -->
            </li>
        </#if>
    </#if>

    <#if authMenu("/finance/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-rmb fa-fw"></i> 财务管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/stream-list"> 交易流水</a>
                </li>
                <li>
                    <a href="/server/withdrawals-list">提现管理</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/customer/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-user-md fa-fw"></i> 会员管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/customer-list">会员查询</a>
                </li>
            </ul>
        </li>
    </#if>

    <#if authMenu("/comment/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-comments fa-fw"></i> 评价管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/comment-list">评价管理</a>
                </li>
            </ul>
        </li>
    </#if>

    <#if authMenu("/statistics/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-bar-chart fa-fw"></i> 统计<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/statistics/product/list">产品统计</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/marketing/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-key fa-fw"></i> 营销管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/marketing-list">营销活动</a>
                </li>
                <li>
                    <a href="/server/marketing-present-list">礼品列表</a>
                </li>
                <li>
                    <a href="/server/marketing-user-list">用户信息统计</a>
                </li>

            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/user/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-gear fa-fw"></i> 设置<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/authority/user-list">用户&权限</a>
                </li>

                <li>
                    <a href="/server/user-profile">主办方信息</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

</ul>
      </div>
      <!-- /.sidebar-collapse -->
    </div>
    <!-- /.navbar-static-side -->
  </nav>

  <div id="page-wrapper">

    <div class="row">
      <div class="col-lg-12">
        <h3 class="page-header">主办方信息
          <div class="pull-right">
            <button type="reset" id="user-profile-save-btn" class="btn btn-sm btn-success pull-right">保存</button>
          </div>
        </h3>
      </div>
      <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <div class="panel panel-default">
          <div class="panel-heading">
            主办方信息
          </div>
          <div class="panel-body">
            <div class="row">
              <div class="col-lg-8 col-md-offset-1">
                <form role="form">
                  <div class="row">
                    <div class="col-lg-4">
                      <div class="form-group">
                        <!--<label>主办方图标:</label>-->
                        <#if organizer.logoUrl == ''>
                          <img width="150px;" height="150px;" src="/server/r/static/images/org-logo.jpg"
                               id="preview-image"/>
                          <#else>
                            <img width="150px;" height="150px;" src="${organizer.logoUrl}" id="preview-image"/>
                        </#if>
                      </div>
                      <div class="form-group">
                        <label>主办方封面图片</label>

                        <div id="uploader-demo">
                          <!--用来存放item-->
                          <div id="filePicker">选择图片</div>
                        </div>
                        <input type="hidden" id="organizer-logoUrl" value="${organizer.logoUrl}"/>
                      </div>
                    </div>
                    <div class="col-lg-8">
                      <div class="form-group">
                        <label>主办方名称:</label>
                        <input id="organizer-name" class="form-control" value="${organizer.name}">
                      </div>

                      <div class="form-group">
                        <label>联系人:</label>
                        <input id="organizer-contactPerson" class="form-control" value="${organizer.contactPerson}">
                      </div>
                      <div class="form-group">
                        <label>邮箱:</label>
                        <input id="organizer-email" class="form-control" value="${organizer.email}">
                      </div>
                      <div class="form-group">
                        <label>联系电话:</label>
                        <input id="organizer-phone" class="form-control" value="${organizer.phone}">
                      </div>
                      <div class="form-group">
                        <label>主办方简介:</label>
                        <textarea id="user-profile-introduction" class="form-control" rows="5" style="resize: none;">${organizer.description}</textarea>
                      </div>
                      <div class="form-group">
                        <label>是否显示底部菜单：</label>
                        <div class="form-inline">
                          <#if organizer.showBottom?exists>
                            <#if organizer.showBottom==0>
                              <label class="radio-inline">
                                <input name="show-bottom" type="radio" value="0" checked>不显示
                              </label>
                              <label class="radio-inline">
                                <input name="show-bottom" type="radio" value="1">显示
                              </label>
                              <#else>
                                <label class="radio-inline">
                                  <input name="show-bottom" type="radio" value="0">不显示
                                </label>
                                <label class="radio-inline">
                                  <input name="show-bottom" type="radio" value="1" checked>显示
                                </label>
                            </#if>
                            <#else>
                              <label class="radio-inline">
                                <input name="show-bottom" type="radio" value="0">不显示
                              </label>
                              <label class="radio-inline">
                                <input name="show-bottom" type="radio" value="1" checked>显示
                              </label>
                          </#if>
                        </div>
                      </div>
                      <table class="table table-striped table-bordered table-hover">
                        <tr class="warning">
                          <th>项目</th>
                          <th>链接及二维码</th>
                        </tr>
                        <#if Session.ACTIVITY0?exists>
                          <tr>
                            <td>最新活动列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="最新活动列表" data-params="?clientId=${organizer.organizerId}&typeId=0">查看</button></td>
                          </tr>
                        </#if>
                        <#if Session.ACTIVITY1?exists>
                          <tr>
                            <td>滑雪度假列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="滑雪度假列表" data-params="?clientId=${organizer.organizerId}&typeId=1">查看</button></td>
                          </tr>
                        </#if>
                        <#if Session.ACTIVITY2?exists>
                          <tr>
                            <td>教练预约列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="教练预约列表" data-params="?clientId=${organizer.organizerId}&typeId=2">查看</button></td>
                          </tr>
                        </#if>
                        <#if Session.ACTIVITY3?exists>
                          <tr>
                            <td>超值雪票列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="超值雪票列表" data-params="?clientId=${organizer.organizerId}&typeId=3">查看</button></td>
                          </tr>
                        </#if>
                        <#if Session.ACTIVITY4?exists>
                          <tr>
                            <td>装备秒杀列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="装备秒杀列表" data-params="?clientId=${organizer.organizerId}&typeId=4">查看</button></td>
                          </tr>
                        </#if>
                        <#if Session.ACTIVITY5?exists>
                          <tr>
                            <td>冬令营列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="冬令营列表" data-params="?clientId=${organizer.organizerId}&typeId=5">查看</button></td>
                          </tr>
                        </#if>
                        <#if Session.ACTIVITY6?exists>
                          <tr>
                            <td>自营雪票列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="自营雪票列表" data-params="?clientId=${organizer.organizerId}&typeId=6">查看</button></td>
                          </tr>
                        </#if>
                        <#if Session.ACTIVITY7?exists>
                          <tr>
                            <td>酒店预订列表</td>
                            <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="酒店预订列表" data-params="?clientId=${organizer.organizerId}&typeId=7">查看</button></td>
                          </tr>
                        </#if>
                        <tr>
                          <td>个人中心</td>
                          <td><button type="button" class="btn btn-success btn-xs btn-qrcode" data-title="个人中心" data-params="?clientId=${organizer.organizerId}" data-type="center">查看</button></td>
                        </tr>
                      </table>
                    </div>
                  </div>
                </form>
              </div>
            </div>
            <!-- /.row (nested) -->
          </div>
          <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
      </div>
      <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
  </div>
  <!-- /#page-wrapper -->

</div>
<!-- /#wrapper -->
<div id="hxz-background" class="background" style="display: none; "></div>
<div id="hxz-progressBar" class="progressBar" style="display: none; ">数据加载中，请稍等...</div>

<script src="/server/r/require.js"></script>
<script>/*resourcemap*/
require.config({paths:{
  "r/bower_components/jquery/dist/jquery.min": "/server/r/bower_components/jquery/dist/jquery.min",
  "r/bower_components/underscore/underscore-min": "/server/r/bower_components/underscore/underscore-min",
  "r/static/js/hxz/hxz.valid": "/server/r/static/js/hxz/hxz.valid_12cc206",
  "r/static/js/hxz/hxz.rest": "/server/r/static/js/hxz/hxz.rest_07c8105",
  "r/bower_components/alertify/alertify.min": "/server/r/bower_components/alertify/alertify.min",
  "r/static/js/alertify-config": "/server/r/static/js/alertify-config_0cc8db2",
  "r/bower_components/bootstrap/dist/js/bootstrap.min": "/server/r/bower_components/bootstrap/dist/js/bootstrap.min",
  "r/bower_components/metisMenu/dist/metisMenu.min": "/server/r/bower_components/metisMenu/dist/metisMenu.min",
  "r/bower_components/select2/dist/js/select2": "/server/r/bower_components/select2/dist/js/select2",
  "r/static/js/hxz/hxz.ui": "/server/r/static/js/hxz/hxz.ui_0a7714d",
  "r/static/js/hxz/hxz": "/server/r/static/js/hxz/hxz_589b155",
  "r/bower_components/fex-webuploader/dist/webuploader": "/server/r/bower_components/fex-webuploader/dist/webuploader",
  "r/bower_components/jquery-qrcode/jquery.qrcode.min": "/server/r/bower_components/jquery-qrcode/jquery.qrcode.min"
}});</script>
<script src="/server/r/static/js/app/admin-organizer-info_4f164f0.js"></script>
</body>
</html>
